package com.iraeta.dao;

import com.iraeta.entity.Duanzao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DuanzaoDao {
    int insert(Duanzao record);
    int updateByPrimaryKey(Duanzao record);
    int deleteByPrimaryKey(Integer id);
    Duanzao selectByPrimaryKey(Integer id);
    List<Duanzao> selectAll();
    List<Duanzao> selectByName(@Param("name") String name);
}